#ifndef MYWIDGET_H
#define MYWIDGET_H

#include <QObject>
#include <QWidget>
#include <QLineEdit>
class MyWidget : public QObject
{
    Q_OBJECT
public:
    QWidget window;
    QLineEdit *count_lineedit;
    QLineEdit *up_lineedit;
    QLineEdit *down_lineedit;
    QLineEdit *K_lineedit;
    MyWidget();


public slots:
    void RandomClick();
    void Refresh();
signals:
    void setRandom(int up,int down,int count);
    void _refresh_(int in);
};

#endif // MYWIDGET_H
